//
//  BaseFlipViewItem.m
//  BaoVn
//
//  Created by Le Anh Tai on 11/6/14.
//  Copyright (c) 2014 Le Anh Tai. All rights reserved.
//

#import "BaseFlipViewItem.h"

@implementation BaseFlipViewItem

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        _lineView = [[LineView alloc] init];
        _lineView.isVerticalLine = NO;
        [self addSubview:_lineView];
        
        self.backgroundColor = [UIColor whiteColor];
    }
    
    return self;
}

- (void)loadDataWithValue:(id)value
{
    
}

- (void)setFrame:(CGRect)frame
{
    [super setFrame:frame];
    
    _lineView.frame = RECT(0, self.height - 2, self.width, 2);
}

@end
